package com.frxuexi.lib_base.net

import com.frxuexi.lib_base.entity.ProductBean
import com.frxuexi.lib_base.entity.ResShop
import retrofit2.http.GET
import retrofit2.http.Path
import retrofit2.http.Query

interface ShopApiService {

    @GET("/api/front/index/product/{type}")
    suspend fun getProducts(@Path("type") type:Int,@Query("limit")limit:Int,@Query("page")page:Int):ResShop<ProductBean>
}